package com.ruoyi.liangshi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.liangshi.domain.BiBsKscDay;
import com.ruoyi.liangshi.mapper.BiBsKscDayMapper;
import com.ruoyi.liangshi.service.IBiBsKscDayService;
import com.ruoyi.liangshi.vo.query.BiBsKscDayAvgTimeChartData;
import com.ruoyi.liangshi.vo.query.BiBsKscDayChartData;
import com.ruoyi.liangshi.vo.query.BiBsKscDayDataVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author LiuJin
 * @Date: Create in 2023-11-22 10:16
 * @Description: this class is
 */
@Service
public class BiBsKscDayServiceImpl extends ServiceImpl<BiBsKscDayMapper, BiBsKscDay> implements IBiBsKscDayService {
    @Override
    public List<BiBsKscDayChartData> getBsKscDayChartDataList(String type,String date, Long shopId,String beginTime,
                                                              String endTime) {
        return getBaseMapper().getBsKscDayChartDataList( type, date,shopId,beginTime,endTime);
    }

    @Override
    public List<BiBsKscDayAvgTimeChartData> getBsKscDayAvgTimeChartDataList(String type,String date,Long shopId,String beginTime,
                                                                            String endTime) {
        return getBaseMapper().getBsKscDayAvgTimeChartDataList(type, date,shopId,beginTime,endTime);
    }

    @Override
    public List<BiBsKscDayDataVo> getBiBsKscDayDataList(String type,String date,Long shopId,String beginTime,
                                                        String endTime) {
        return getBaseMapper().getBiBsKscDayDataList(type, date,shopId,beginTime,endTime);
    }
}
